package com.paradox.rpc;

import java.io.Serializable;

public class Carrier implements Serializable {
    private String id;
    private String interfaceName;
    private String methodName;
    private Class[] argTypes;
    private Object[] args;

    public Carrier(String id,String interfaceName, String methodName, Class[] argTypes, Object[] args) {
        this.id=id;
        this.interfaceName = interfaceName;
        this.methodName = methodName;
        this.argTypes = argTypes;
        this.args = args;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Class[] getArgTypes() {
        return argTypes;
    }

    public void setArgTypes(Class[] argTypes) {
        this.argTypes = argTypes;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }
}
